package com.tedu.egsringbootmvc.mapper;

import com.tedu.egsringbootmvc.pojo.entity.MvcArticle;
import com.tedu.egsringbootmvc.pojo.entity.MvcUser;
import com.tedu.egsringbootmvc.pojo.vo.ArticleVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    MvcUser selectByUsernameAndPassword(
            @Param("username") String username,@Param("password") String password);

    int insertArticle(MvcArticle article);

    ArticleVO selectArticleById(int id);
}

